//若有冲突，后面的规则会覆盖前面的规则
module.exports = [
  //1,直接定符串(支持combine)， 代理到本地
  /*{
    pattern: 'p/pure-service/tb-detailt.js',
    responder:  "/Library/WebServer/cm/base/build/p/pure-service/??tb-detail.js,store-addr.js"
  },
  //2,直接字符串 代理到线上
  {
    pattern: 'p/pure-service/tb-detailt.js',
    responder:  "http://at.alicdn.com/t/font_1426303326_462456.eot"
  },
  //3,正则表达式本地、线上均支持
  {
    pattern: /p\/pure-service\/([\-\w]+)\.(\w+)/,
    responder: '/Library/WebServer/cm/base/build/p/pure-service/$1.$2'
  },*/
  //4,目录(支持combine)，代理到本地 , 配置必须以 / 结尾
  {
    pattern: 'cm/base/0.5.1/',  // must be a string
    responder: '/Library/WebServer/cm/base/build/' //must be a absolute directory path
  }
];